package com.zerox.singleton.demo01;

public class MyRunnable implements Runnable{
    @Override
    public synchronized void run() {
        XieFactory instance = XieFactory.getInstance();
        System.out.println(Thread.currentThread().getName()+"获取到鞋厂为:"+instance);
    }
}
